// 以下文件格式为描述路由的协议格式
// 你可以调整 routerConfig 里的内容
// 变量名 routerConfig 为 iceworks 检测关键字，请不要修改名称

import AsideLayout from './layouts/AsideLayout';
import TopLayuot from './layouts/TopLayout';
import Home from './pages/Home';
import Login from './pages/Login';
import BlankLayout from './layouts/BlankLayout';
import Regist from './pages/Regist';
import Test from './pages/Test';
import Monitor from './pages/Monitor';
import Programs from './pages/Programs';
import ProgramItem from './pages/ProgramItem';
import AppMenu from './pages/AppMenu';
import NotFound from './pages/NotFound';

const routerConfig = [
  {
    path: '/',
    layout: AsideLayout,
    component: Home,
  },
  {
    path: '/login',
    layout: BlankLayout,
    component: Login,
  },
  {
    path: '/regist',
    layout: BlankLayout,
    component: Regist,
  },
  {
    path: '/test',
    layout: AsideLayout,
    component: Test,
  },
  {
    path: '/monitor',
    layout: AsideLayout,
    component: Monitor,
  },
  {
    path: '/programs',
    layout: AsideLayout,
    component: Programs,
  },
  {
    path: '/programItem',
    layout: AsideLayout,
    component: ProgramItem,
  },
  {
    path: '/appMenu',
    layout: TopLayuot,
    component: AppMenu,
  },
  {
    path: '*',
    layout: AsideLayout,
    component: NotFound,
  },
];

export default routerConfig;
